<?php if (!defined("_ECRIRE_INC_VERSION")) return;
function balise_ALOHACART_CART_ID_COUNT_PRICE($p) {
	return calculer_balise_dynamique($p,'ALOHACART_CART_ID_COUNT_PRICE', array());
}

function balise_ALOHACART_CART_ID_COUNT_PRICE_stat($args, $filtres) {    
	return $args;
}

function balise_ALOHACART_CART_ID_COUNT_PRICE_dyn() {
    include_spip('functions/pdk_common');
    $cart = pdk_load_class('Alohacart','classes');
    $count = $cart->GetProductsTotals();

    return array('balise/alohacart_cart_id_price', 0, 
		array(
            'id_count_price'=> $count
		));
}

?>